package com.wrench.elevator.tida.node;

import java.util.List;

/**
 * 节点城市
 * */
public class NodeCity
{
    private String name;
  private String title;
    
    public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
    
    private boolean checked = false;
    
    private String checkboxValue;
    
    private boolean spread = false;
    
    private List<NodeDistrict> data;
    
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public boolean isChecked()
    {
        return checked;
    }
    
    public void setChecked(boolean checked)
    {
        this.checked = checked;
    }
    
    public String getCheckboxValue()
    {
        return checkboxValue;
    }
    
    public void setCheckboxValue(String checkboxValue)
    {
        this.checkboxValue = checkboxValue;
    }
    
    public boolean isSpread()
    {
        return spread;
    }
    
    public void setSpread(boolean spread)
    {
        this.spread = spread;
    }

	public List<NodeDistrict> getData() {
		return data;
	}

	public void setData(List<NodeDistrict> data) {
		this.data = data;
	}

	public NodeCity(String name, String title, boolean checked,
			String checkboxValue, boolean spread, List<NodeDistrict> data) {
		super();
		this.name = name;
		this.title = title;
		this.checked = checked;
		this.checkboxValue = checkboxValue;
		this.spread = spread;
		this.data = data;
	}

	public NodeCity() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "NodeCity [name=" + name + ", title=" + title + ", checked="
				+ checked + ", checkboxValue=" + checkboxValue + ", spread="
				+ spread + ", data=" + data + ", value=" + value + "]";
	}
    
   private String value;

public String getValue() {
	return value;
}

public void setValue(String value) {
	this.value = value;
}

public NodeCity(String name, String title, boolean checked,
		String checkboxValue, boolean spread, List<NodeDistrict> data,
		String value) {
	super();
	this.name = name;
	this.title = title;
	this.checked = checked;
	this.checkboxValue = checkboxValue;
	this.spread = spread;
	this.data = data;
	this.value = value;
}
   
}
